<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <label for="agreement">
    <input id="agreement" type="checkbox" v-model="isAgree">同意协议
  </label><br>
  <h2>您选择的是：{{isAgree}}</h2>
  <button :disabled="!isAgree">下一步</button>
  <br>
  <input type="checkbox" v-model="hobbies" value="篮球">篮球
  <input type="checkbox" v-model="hobbies" value="足球">足球
  <input type="checkbox" v-model="hobbies" value="羽毛球">羽毛球
  <input type="checkbox" v-model="hobbies" value="橄榄球">橄榄球
  <h2>您的选择是:{{hobbies}}</h2>

  <label v-for="item in originHobbies" :for="item">
    <input type="checkbox" :value="item" v-model="hobbies" :id="item">{{item}}
  </label>

</div>
<script src="../js/vue.js"></script>
<script>
  const vm = new Vue({
    el: '#app',
    data: {
      isAgree: true,//单选框
      hobbies: [],//多选框
      originHobbies:['篮球','高尔夫球','羽毛球','足球','乒乓球','棒球','排球']
    }
  })
</script>

</body>
</html>